package com.ruoyi.teacher.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 老师排班对象 sys_teacher_work_schedule
 * 
 * @author clid
 * @date 2024-03-25
 */
public class TeacherWorkSchedule extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long id;

    /** 考勤组id */
    @Excel(name = "考勤组id")
    private Long groupId;

    /** 考勤名称 */
    @Excel(name = "考勤名称")
    private String groupName;

    /** 班次id */
    @Excel(name = "班次id")
    private Long classId;

    /** 班次名称 */
    @Excel(name = "班次名称")
    private String className;

    /** 排班时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "排班时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date workDate;

    /** 校区id */
    @Excel(name = "校区id")
    private Long campusId;

    /** 学科id */
    @Excel(name = "学科id")
    private Long subjectId;

    private String teacherName;

    private String opUserId;


    public String getOpUserId() {
        return opUserId;
    }

    public void setOpUserId(String opUserId) {
        this.opUserId = opUserId;
    }

    public String getTeacherName() {
        return teacherName;
    }

    public void setTeacherName(String teacherName) {
        this.teacherName = teacherName;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setGroupId(Long groupId) 
    {
        this.groupId = groupId;
    }

    public Long getGroupId() 
    {
        return groupId;
    }
    public void setGroupName(String groupName) 
    {
        this.groupName = groupName;
    }

    public String getGroupName() 
    {
        return groupName;
    }
    public void setClassId(Long classId) 
    {
        this.classId = classId;
    }

    public Long getClassId() 
    {
        return classId;
    }
    public void setClassName(String className) 
    {
        this.className = className;
    }

    public String getClassName() 
    {
        return className;
    }
    public void setWorkDate(Date workDate) 
    {
        this.workDate = workDate;
    }

    public Date getWorkDate() 
    {
        return workDate;
    }
    public void setCampusId(Long campusId) 
    {
        this.campusId = campusId;
    }

    public Long getCampusId() 
    {
        return campusId;
    }
    public void setSubjectId(Long subjectId) 
    {
        this.subjectId = subjectId;
    }

    public Long getSubjectId() 
    {
        return subjectId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("groupId", getGroupId())
            .append("groupName", getGroupName())
            .append("classId", getClassId())
            .append("className", getClassName())
            .append("workDate", getWorkDate())
            .append("campusId", getCampusId())
            .append("subjectId", getSubjectId())
            .toString();
    }
}
